import http from "@/request/http"

const loginApi = {
	getMsgCode(param){
		return http.get('/user/getMsgCode',param)
	},
	register(param){
			return http.post('/user/register',param)
		},
	validateToken(param){
			return http.get('/user/validateToken',param)
		},
	finishUserInfo(param){
			return http.post('/user/finishUserInfo',param)
	},
	getUserInfo(param){
			return http.get('/user/getUserInfo',param)
		},
		// 账号登录
	accountLogin(param){
			return http.post('/user/accountLogin',param)
	},
	// 手机验证登录
	phoneNumLogin(param){
			return http.post('/user/phoneNumLogin',param)
	},
		
		
}

export default loginApi